Fix TestHelpers macro with gcc
Only use Skia's cairo font backend if cairo is available
Add required files to the build for standalone mode for all platforms