Fixed bug in chimera build