Linker's objects/libraries order changed

gcc linker needs to parse objects before linking the necessary libraries