solving OS specific issues. in a not *that cool* way