Alter flags for building