adding flags for build