Explicitly set encoding for compiler

Explicitly set the source encoding to UTF-8 to allow building on
default Vagrant boxes that are configured with ASCII as the env
default encoding.
Explicitly set OS settings for RPM build

Explicitly set the target OS to Linux in RPM config.