Quickly fixed some build errors.