Fixing some cmake stuff.