Add gcc flags to the gcc platform branch