Changed to platform neutral relative paths

The previous mechanism of generating relative paths required Windows API
usage, which would fail on non Windows platforms.  Switched to all
managed approach.