cmake: decouple os normalization

In one step we choose the normalized OS,
the next step sets files/lib dependent on that OS.

This is also how it is done in the Autotools files.
Merge branch 'cmake_cleanup'

Conflicts:
	CMakeLists.txt
Merge branch 'master' of https://github.com/metabrainz/libdiscid