turn on feature test macros so fileno and strdup get included on linux
silence some warnings