Avoiding the use of critical constants in cubic equations of state