Updated motorwork script, updated Windows Makefile

Signed-off-by: Alberto Corona <albcoron@gmail.com>