attempt to detect running kernel and use that as the default to build