Fix inherit via dominance

ref #90 

works on OS X and Windows