Update compilation for more general compilers
Call shell python
Allow compilation on older systems