Never mind. I figured it out.
Had to do with something being set a little wrong in the source. Made a quick mod and compiled the code just fine. After putting it in place and remastering it worked fine.