.osx: Add ExpandedStateFor* variants for OS X 10.9

Closes #361.