build test on correct platform