find a case in which we need to remove this flag, we should most likely write a configure check that detects when this flag is needed and when its not.