Update shell script to allow for linking to correct allegero libraries