create dir and add ranklib