Move SHLIB_MAJOR / SHLIB_MINOR assignment up into Makefile.inc.