add support for cross compilation in travis