enable compiling smartassv2 as module