Add kernel class name option to build and source