add support for specifying flags for each target in the build script
add support performing a clean build
support debug builds for MSVC targets in the build script