Updated flstten_directories script to support CentOS-5.

Signed-off-by: ohanetz <o.hanetz@gmail.com>