fix demo and install problems with symlinks in windows
Merge pull request #751 from ccanepa/fixed-symlinks-windows

fix demo and install problems with symlinks in windows