Tested on CoD1 v1.1
1) Do this: CoDExtended#building (SteamSDK or Duktape not necessary)
2) Replace build.sh with this: http://pastebin.com/P6ZihzcX
3) Run it.
4) ...
5) Profit.
Enjoy and don't forget to give a lot of thanks to php, kungfooman, and libcod
A lot of thanks.