use standard offsetoff macros & suppress warnings in c++
don't use final_build; apparently without the debug info it tends to crash; also remove some unkown args that cause warnings