Fix travis build script in unsecure mode [ci skip]