clean up cmake a bit