fixing build flag