fix crash and re-enable Application Support directory on OS X versions < 10.9