Revert "Remove libcore" - still needed by externals

This reverts commit 9e9ff5a72d9abd16414367408b88acd6757021ac.