I think that absolutely everything I've compiled with nim to date has had this problem. But for example I used: https://github.com/nim-lang/x11/blob/master/examples/x11ex.nim
linux-vdso.so.1 (0x00007fff34330000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fe4c5e7d000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fe4c5e78000)
libc.so.6 => /lib/libc.so.6 (0x00007fe4c5ce2000)
No mention of the x11 libs.