Fixes CMake issues with udev (#734)
Added implementation of Window::hasFocus() on iOS