CSync: Move compiler ifdef outwards