Fixed module generation code not working correctly on Linux/OSX due vpc files containing windows path separators.