Changed Makefile to invoke tex twice to create references