[ticket/11323] Backport include_define test to olympus.

http://tracker.phpbb.com/browse/PHPBB3-11323