Fix test that broken when we moved some things to cpack directory
Fix incorrect sized alloca