(#1591) - fix for native promise libraries