Update build flags