Add -I$(includedir) to CPPFLAGS

-I$(includedir)/openlibm/ is not enough to find openlibm.h.