small unix fix for last patch