Add ability to run statprof as a module.