Compile using dynamic libraries