Fix incorrect #ifdef for POSIX only code

Authored by mreeves on Jul 15 2018, 1:59 AM.