flag to set whether to build or not