Fixed NAFQA-212. Check for include and require calls
- cross-platform compatibility added