Fixed build process to work properly with JFreeChart.