a macro wrapper of `read_exepath` for mac port