Link instead of copy libtgl files
Fix function call