Add dirs for core extension and the library
initial