Qnx: Fix build errors

Change-Id: Ia053e4e58ced79635f744feb02a2a855eae0c48b
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>