Qnx: Fix compilation.

Change-Id: I480ada9eba0684c90487d991e7a4c6265c5b6c03
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>