Trying to make it compile on mono.
Added userprefs to gitignore.