Workaround for mcrypt bug in Windows with PHP < 5.3.7, thanks to @ajkj