Added uVision build support

Also fixed some platform incompatibility, using path.join instead of
manual backslashes.