Replaced deprecated compiler flags with LANGUAGE pragmas