Fixed libraries source ordering