Fixed linking order


 Fixed linker order. was not working (at least on ubuntu) fixes error  "undefined symbol: swift_port_close" on loading