Changed lib linking- libs are only linked to exe projects from now on
Releases memory