update motion package, add a patch to honor CPPFLAGS,