Proposed fix for Bug #3255

Another try for fixing #3255. Replaced the #ifdefs with NPY_ALLOW_C_API and NPY_DISABLE_C_API except for numpy/linalg/lapack_lite/python_xerbla.c where ndarraytypes.h is currently not included.