Build relative paths case-insensitively on windows/osx.