Fixing linux build errors.