Fix build path creation