Print more informative message on failure + compile fix, thx smls.