Fixes build errors.