Verify directory before making a bindist
Replace System.Info.os with Distribution.System.buildOS