Buildsystem/GCC: Fixed release linking errors