I had exactly enough ore to build an iron mace (28 ore required), but the ore amount was red, and I couldn't build it. Rounding error?
Thank you for reporting this bug!
I've fixed it and it'll be in the next update!