Move definition of BUILDING_DLL macro to src dir.