issues/417: Fix command key modifier detection

Command key can now be optionally used on the mac osx.