Updated build flow bug

sample_bsp_0 referred to test2_hw_platform in libgen options which
caused a build failure when rebuilding from scratch for the bsp.