Fix loader for case-sensitive file systems (fixes #36)