Attempt to call build, but use reflection as a backup if an error occurs