Add chaz_OS_exe_ext() function

The executable extension can differ on host and target OS when
cross-compiling.
3 files changed