Fixed compiler error for Release builds.
Merge pull request #25 from Fraser999/MAID-200_fix_drive_release_config

MAID-200 Fixed compiler error for Release builds.