fix compiler flags configuration