corrected library linking, but there are some issues with your stuff