use correct build flag declaration