fix before install script for travis