Moved libraries into separate directory in preparation for source-porting attempt