Linux compatibility problems fixed