Finally got it compiling.