fixed build failed for travis