patch to fix plugin dir in Makefiles