Fix gem build or windows