fix case sensitivity issues caused by OS X