Update configure checks to consider MINIX

If file "minix/config.h" exists set _POSIX_SOURCE, _POSIX_1_SOURCE and
_MINIX and set them as CMAKE_REQUIRED_DEFINITIONS.