Compiling catalog as a subcommand in build phase