Modify the Makefile.am for the libpmi2 to build versioned library.