apin: removed qnx references + changes to get things working under clang.
/tem/: removed qnx references + changes to get things working under clang.