Restore JFX_DIR workaround