Improve custom build compiler test