Updated Codeblocks project file to fix linker errors

As stated.

Possibly similar updates required for MSVCs (#5075).