Build libmerr as a separate library.