Added missing includes to the library sources