Re-build API library.