Fixed a bug with library argument for project dependencies in gcc/clang toolchain