Fix mac build?
Really fix mac build?

Only include magic.h for c++