better OS handling in cmake - support for crosscompiling