Replaced run-time hashing with a second compile-time hash function. Fixed broken string typedefs.