os_detect.py for QNX) code cleaning.