This reverts commit 93ed13f86b624dc3214f58d09c3f3318f9900afa. libtensorflow is only used by the Haskell tensorflow packages and they don't work with tensorflow-1.10 yet. So the easiest solution is to just revert this commit and add it back when they do gain support.