Do not include getopt.h directly in man.h, use platform.h (fix MinGW build)