Make gcc 4.6 happy
Fix build system to successfully compile the wasteland extension.
Remove problematic asserts.

For some strange unknown reason this for-loop doesn't exit when
the last paragraph has been checked. It should go from 1 to 163
but it goes up to 164 and fails because it then reads memory
garbage. For now I simply removed the check.