Fixed errors in the build