lib compilation issie