1.fix makefile for ondemand plugin.