add USE_GCC idiom and distclean for leaf targets