Fix build flags