introduce LIBJ_PF_UNIX
use __FUNCTION__ in the case of LIBJ_PF_WINDOWS
use Sleep instead of usleep in the case of LIBJ_PF_WINDOWS