add osmodel.mak to detect MODEL and OS

- Use OS in uppercase for TARGET_LINUX macro