fixed cmake bug that's causing build to fail