Moved define of WXMAKINGDLL from project level to target level; this is to make it easier to test using WXUSINGDLL instead.