Changed pathes to the foreign libraries.