[Validator] Fixed StaticMethodLoader on systems that don't have E_STRICT enabled by default