Fixing linux build errors