conditionally use it in the only place it is used. This should fix problems on QNX reported by Sean Boudreau.