Added some linker voodoo hopefully to make this compile.