Build fixes & Symbian maFillTriangleFan

With these fixes, master and gcc4fp should be buildable on the same system.