work on py2app suport