unity build integration improved

added oms_add_library macro to generally enable unity builds for all libs