Modified the builtin externals dependencies to their libraries to make it work for Ninja.