Port some machine specific settings to vc
Fix Arithmetic Error when lhb-defgit == 0