Master alloc perf test

Fix compiling errors and add PerformanceAllocTest to other platform project settings for #3568.