Chnages (See Description)

Kernel export now checks for file instead of directory (oops)
Kernel filename differentiates between build versions
Re-arranged builddeps function and fixed the if test.
Removed unneeded code