adjust build flags