Fix duplicate defines