fix mac implementation, proper mac rdtsc asm
merge mac-dev