fix extensions for NASM

fixed extensions, removed unneccesary safety check, added DLMalloc,
although no implementation has begun yet.