fix build path errors