Fix cmake error when no icon is set and support spaces in icon path (closes #40)