configure: remove bashism equality check for target_os.