added  compile doc
fixes maptools compile errors