Fix linker problem and document bash intergation

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>