This reverts commit 23058f9d. It breaks builds of cuda code somehow in some cases.
mentioned in commit 572c7f6f