Issue #1311: Samples should be able to run on Mono.

Fix: Adding support for Kestrel server and fixing the paths for mono.