Core: Fix build