added architecture supports for macosx and win32