Updated version for both Maven and Leinigen examples.

Previous version doesn't handle paths with spaces on Windows.