GH #321: trivial build fixes (BB QNX build)