Fixing build: missed some instances of VOXEL_ELASTICITY.

Also enforcing C++ style casts.