Fixed Linux linker errors