Use an exported CMake variable for the resource compiler.