tpt++: fix crash and re-enable Application Support directory on OS X versions < 10.9  ab2dd1ce617c