Prevent pgmlink from overwriting the CXX_FLAGS