Bug related to double build dir fixed.