fix MRU menu entry generation on Cocoa