Fixed bug on CentOS servers with locate classes.