Cosmetics: Fix cmake output
Core: Make more pointer arguments const