I just tried building a footman and it works with no problems. If you can, copy the unit that you can't build into a separate map, and try to build it. If it still doesn't work, then there is an issue with your unit, but if it does work, then there is an issue with your terrain in your main map. Might be something in the way that you can't see or something.