Fix compile script to use bibtex correctly