patch fix building on QNX 6.5