Fixes for binary test
Added support for OpenBSD