Convert to Portable library