Fix object builder with PHP >= 5.3

Add namespace if needed for RuntimeException class