add libns{gif,bmp} files and update makefile