On Python 3.x, sys.platform returns "linux".  Set library pattern same as "linux2".