Add option to python script to build debug version.