make LP_TITLE works under macos