Qnx: Fix compile errors

Change-Id: I282f7dce62d9d3d3790716d12cc9e7b040e4f05d
Reviewed-by: Robert Loehning <robert.loehning@digia.com>