Updated build scripts and fixed php5x-syck build