Allowed arbitrary build directory specification; removed legacy matplotlib code