Add support to build with Slim