test: remove should
build: improve platform portability