Build a library for external use also