Fix build on QNX6.5