Dealing with common errors when building