reorder linker options and enable static build on Travis