Update for correct compilation. Added a "Needed libraries" file.