updates build to check binary is output in the correct directory
removes check binary