Fix exception type in WebCLProgram.build()