Removed cofhlib and updated build