We might better change all guard defines with the ones upstream is using but for now this should also work.