add missing includes
fix cleaning rule to not fail when called repeatedly
add missing libraries to linker command line