(QNX) Build fix for QNX. Should figure out what to do with these
two functions for future portability issues