redefining location of necessary libs and source directories.