Sure, that works just as well (see updated ebuild). Is this the preferred way of conditional inheritance?