Simplify build process

@cap @stephentu 
Why does the python wrapper use the debug library? 

I worry about this b/c datamicroscopes's C++ library links against libdistributions_shared, but we also make use of the python wrappers (so this would cause both libdistributions_shared and libdistributions_shared_dbg to be linked and I don't know what would happen then)