pass CC and CFLAGS to 3rdparty configuration