Fixed up plugin.cpp to work with any SciDB version; cleaned up Makefile