Fix Linux compilation issues.