Made compilation of x86, arm, and opencl targets conditional

This way you can e.g. compile a version that uses an llvm without arm support.