Linker's objects/libraries order changed

The gcc linker needs to parse object files before parsing and linking the necessary libraries