Use Dist::Zilla's Test::Compile facility