Core/Misc: Fix gcc build