Changed linker options ordering in src/module.mk and test/module.mk in case multithreading is an issue.