Make dynamic library extension platform-dependent

New syntax is %dynamic "libm" instead of %dynamic "libm.so".
Merge pull request #257 from david-christiansen/providers

Make dynamic library extension platform-dependent