[Building] Added project specific option whether to link in third party dependency static/shared libs