Fixed build with vector 0.10

the vector package removed Safe Haskell support in version 0.10.
Module imports now reflect that.