fixing MP issue and checking libraries in /lib