adds checkerboard detection and necessary libs to dependencies