fix issue with not detecting if phalcon was built or installed