change access to static properties

some older php versions don't seem work with "$var::CONSTANT" syntax