fix: improved light linker support