Adding missing sources and libraries