Fixed Mac build on Qt 5

Due to missing headers in macsupport.mm.