fix installer for php 5.4+ only if needed