Compile most binaries without unused libraries