Linux fixes for mkdir