fix build error on non-glibc/android linux

when including a non-standard header, the sane approach is to
blacklist the non-conforming platforms, instead of whitelisting
the conforming ones.
Merge pull request #46 from rofl0r/280

fix build error on non-glibc/android linux