Fixed bug due to case sensitivity of path names.