fixed build for php 5.3/4
fix for windows x64