Fix configures for travis and saucelabs