FEAT: avoid generating empty wrapper functions for dynamic paths compilation.