Fix windows absolute path issue

Fixes #4. Verified that the built-in tests work on both Windows and Mac.