Don't build mobile files

Signed-off-by: Ali Lloyd <ali@runrev.com>
project additions and slight reorganisation to get things compiling on windows@

Signed-off-by: Ali Lloyd <ali@runrev.com>
fixed incorrect cast in RAND_bytes