HACK: run something before and after compilation