Fix for not matching mac when setting directories

Closes #32.