define base dir constant