Fix segfault when BUILD_ENGINE_C=ON and FONTS_DIR is provided