Minor fixes

Added flush method to Serial. 
Added Linux elseif to not redefine true/false