Fixed bug that caused compiler to segfault when compiling for CPUs