OpenMP thread support added