fix for new way to set flags on wkcmake.