Fixed directories, adding all needed libraries and plugins.