Fixed compiler errors with linker.