export CXXFLAGS=-fPIC in .travis.yml before_install