Additional changes to integrate with highperf-lib, moved osal.c to highperf-lib