Corrected issue where path to headers and libraries was reset when adding libraries and header paths