when only checking headers, do not set $1_LIB.