This reverts commit 9fdc5688, as it linker crashes on some platforms.
mentioned in commit f02b7770
mentioned in commit 8603e170