The SoundTouch code fails to build if you aren't using the GCC compiler, due to the code in cpu_detect_x86_gcc.cpp.
However, this code is only used if you are building with optimizations.
This patch fixes FIRFilter.cpp and TDStretch so that they only bother calling detectCPUextensions if optimizations are actually being used. It also adds a "#include STTypes.h" to the top of the cpu_detect_x86_gcc.cpp file and basically ifdef's out the whole file if ALLOW_OPTIMIZATIONS is not set. This allows you to build without optimizations, since it is not necessary to check for GCC support in this case.