Got it compiling locally. Added some debugging.