[mamory/f23] clean up build flags