Fix for issue #10

Explicitly keep defines in the build environment. This preserves HAVE_WORKING_POLL and fixes Linux build issue #10.