remove common kernel directory define