fixed bug in xhprof install where condition to install the application wasn't met and so caused errors when being used