Library building bug solved