Remove boost.framework and replace boost::ptr_map with hash_map.
Avoid compile warnnings.