Moved build scripts into Makefile for Mono builds