allow building in seperate directory