Fixed linker warnings