fixed makefiel for pthread inclusion, pinning main thread to cpu0