make re simple to convert library name, and hide stderr for cc.