[BUG 1102] Added missing exception in WebCLProgram.build()