now compiling, though with a bunch of issues with linker input files and whatnot