fix a bug in build_detect_platform that misses -DROCKSDB_PLATFORM_POSIX ...

fix a bug in build_detect_platform that misses -DROCKSDB_PLATFORM_POSIX.