sercmd: fix LIBS when installing from a module