fixing build dirs