changed ::getInstance call to use constructor and new keyword, this meth...

...od is not available in 3.6.12 on osx mountain lion