VS2010 build fix

Removed JUCE deprecated function