Fix handling of examples folder (fixes #795).

Fix creation of windows installer caused by moving the example files into subfolders.