Prepare pass by ref for buildins