Penalty Methods for a Class of Non-Lipschitz Optimization Problems