added equality test operator for linux implementation