Fix autoversioning when building on travis-ci.org