Made library linking platform independent
Beginning to get closer to building on linux