Fix: improved Linux compatibility (gcc still fails)