fix windows build. looks like vc doesn't like constructor inheritance