NXP-11222: os.WEXITSTATUS is not defined under windows