You don't normally need to do this. As long as the design file is part of your Quartus project, you shouldn't have to reference the work directory. Try just removing lines 12-13 from your code.
Is "keccak_globals" in some other design file?
With sstrell help, I’m glad that your question has been addressed
With that, I will now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.
p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.