Reworked the UDev inclusion

* This fixes `SFML_DEPENDENCIES` missing the UDev library for static builds (issue #728).