Precompile the python gadgets