Improved building script
Improved build script to handle configuration mode and move kext to target folder
Fixed a linking issue
Working state