Core: Fix gcc build