fix to build release version with Travis CI