adds cross-platform global hotkeys, fixes build in linux