updating to use new compile flag style