Bug 1037775 - Port |Bug 1036864 - Remove EXPORT_LIBRARY| to Mailnews. r=Standard8 in a CLOSED TREE