Fixed errors in configure