Got multihreaded compiling to work

This should solves a bug in my cmake code.