changed some compile options, added strace logs