added install-bin rule ; added include header with prototype for close to compile on gcc-4.7