Add configure/cleanup script and cleanup Makevars