Fix mass resource loading on Windows.

Closes #176.