More reliable OS detection for builds.
Make sure clean removes app icon and that app icon is a dependency of the executable. Fixes #15.