Fix flag name in gcc 4.6 and earlier