Modified build scripts to build library and tests in two separate
locations, speeding up build times during editing by not always forcing
a complete rebuild.