Fixed linker bugs and it is now compilable again!