add flexibility to library placement by resolving relative locations of necessary files

Relative paths resolution, instead of assuming that necessary files are located in ext.restfullyii