Compatibility of Multiple Control Barrier Functions for Constrained Nonlinear Systems