Adapt flags for gcc
Use right flag for gcc
Change flags for gcc