Add support for inferring DLLs from lib/ without target framework.

Also added comments for NuGet package detection.