cleanup build script
add support for multiple paths for cppcheck
fix installation of wet dependencies