Adding libsam (sam/system/*) for use with our own cores