Add foreign libraries registration
Register all foreign libraries