properly setting prod build flag