gen native target only if libs folder contains *.so file