Fix build for Slim