- use LibVNCServer macros for pthread mutex support in the keyboard / mouse code - workaround for WIN32: use critical section stuff instead (not yet present in LibVNCServer)