Fix pathname and make JFControl buildable