Support platform in helper.spec_for() #139