Fix phploy for linux & mac