Small error in first iteration. Fixed a problem with missing libs