don't include maplib until it's fixed
Fix some example compile errors