Ifdefs around dynamic should tests