Program libraries dynamic loading and extern C