Added missing #include
Added compile options for GCC