Fixed pdf make file so it removes the temporary files