Fixed compile error on case sensitive filesystems