[C] Use CPPFLAGS when building modules