modified gen_fbt_mac.py to acquire abspath when executing from console