set os-based progsDir