fixing the installer (which does not yet use the pluginmanager, but yould easily be extended to use it)
it now checks existance of cache and compile dir before execution
plus the permissions are finally fixed (not tested on not *nix systems)