Use AM_CPP_FLAGS instead of INCLUDES

Because INCLUDES is deprecated (maybe) since automake 1.13.