add Linux implementation of `exepath`

Hi, this pull request implement `exepath` for Linux.

Reference: https://github.com/joyent/libuv/pull/35

FYI: I tried to compile this with `gcc` and it worked. The only modification needed is adding `-std=gnu99` to `CFLAGS`.