changed method of getting addresses of functions not to need static locations
changed make file not to generate environment specific options