Changed order of parameters when linking the binary. apparently it is needed on some compiler versions?