Core/Misc: Fix build warnings