Makefile: feature test macros to make dumb Linux happy