Fixed small bug for building stuff.