Support -net-lib and -python