Allow setting the resource path via command line.

It is awfully limiting when you have to set the resource path at compile time.

Instead also allow setting it via the --resource_path command line option.
Check for GCC/G++ explicitly instead of simply Unix.

Since we're setting gcc specific build flags.
BUGFIX: Properly add libcyassl to the lib list.

This would cause failure to build the test apps with CyaSSL.