Update python build flags for linux
Update macro definition for different compiler
Use inttypes to print llx