fix failing tests (refs #33)

Without this semicolon, this is parsed as function call like

  define_libfunc(...)(function ...)();