Moved libs to the head.
Better libs requirement