Use path separator in comparisons

This should make the Windows behavior the same as Mac OS X and Linux.

Closes #11