Unbundle libs.
PR: ports/194029 Submitted by: Jan Beich
Also, don't extract the third-party directory if we're not using it here.
Submitted by: mi