Fix potcar generatino script for Osmium.