Issue #51: Fix resource loader for dynamic assembly