More CMake Fixes

Fixed linking to TBB Malloc
Fixed building testapp