Fixed build error when ELECTROSTATICS is disabled.