builds and links, doesn't yet use the osd code though