__attribute__((aligned)) don't work for stack variables in threads created with _beginthreadex without alignment.