Fix python plugin and add sort.h to list of installed files