Fix build by marking the new functions as weak
This is a temporary fix