SpawnPreparer.cpp should include stdlib.h for setenv(). Fixes issue #998
Improve check for Solaris in LoggingServer.h. Fixes issue #996
FilterSupport.h should include string.h and stdlib.h for abort() and strdup(). Fixes issue #995.