Fixed lib on cp while compiling