Fixed bug #66251 (Constants get statically bound at compile time when Optimized)