In flexible/standalone mode include the core functionality as a header to avoid duplicate symbols