Some library path changes

Changed include and libraty paths to enviroment variables.