add -lX11

not sure if this is necessary?
fix typo