RF: use dynamic libraries for build