patch fix buildin on QNX 6.5