support static-linked executables