Fixed compiler linker errors