When compiling statically ensure our ABI is still exported correctly by creating an amalgamation