Removed GLOBAL_LDFLAGS optimization flags due to an error with linker at compilation