Add checks for necessary packages

Signed-off-by: Philip Luyckx <philip.luyckx@gmail.com>