Fixed setting libdir to just one external module