Feature/fix env

fix build settings to pass on the travis-ci.