make tutorial portably buidable with autotools