Update for NumPy flags name changes