fixed build on mac

Look like we're ORing with the wrong flags.