1349: do not check for 3-rd parties libraries twice