mklibs bash script