fixed compile error
removed support for using gcc with clang linker