Use CMAKE_C_COMPILER_ARG1 when compiling deps.