Some reformatting
Setting output directory

all targets will be moved to bin/{arch}
Merge branch 'cmake-linux' into cmake-osx