Fix theme settings
Fix build with our custom tarball, drop courgette.gyp dependency
Make ninja respect CFLAGS / CXXFLAGS / LDFLAGS