replaced unix package with unix-compat to allow building on windows