replace bsd macros with proper fprintfs and exits
rm bins