0.11.13 compat

ref #90
@kkoopa do you have a better suggestion here btw? it'd be nice to be able to use ternaries since this is a sensible use-case but the strict C++ rules on typing make it awkward here.