Adds ST3 compatibility

Hi,

I made a small change to make this work with ST3.

Regards,
Gheorghe Mosteoru