Philanthropist donates €40 million to Irish midwest