This patch adds an additional step in the compilation of 3rd party emitters:
we first create the static library and then create the shared library. This
is necessary in order to build the emitters into the static binary, which is
implemented in a subsequent patch.