py: Add more #if's for configurable MOD_SYS.