fix build file to resolve dependency in pre init