Revert "Fixed wrong assert on linux"

This reverts commit c050fa7b5817ad2dcd659c57cb0204beb9cbc37b.
Fixed wrong assert on linux