Remove use of BREAK_ON_ERROR from posix code

POSIX no likey BREAK_ON_ERROR, it fails at runtime. Replaced with portable code.