Dynamically-loaded plugins; Build improvements