Refactorize build profiles, add NOTICE.txt to product root