Ugly workaround for broken asm support in older CMake versions.

The only justification for this is the fact that we need it
to work for the release process.